package com.dao.impl;

import com.dao.CacheDao;
import com.mapper.CacheMapper;
import org.springframework.stereotype.Component;

import javax.annotation.Resource;

@Component("CacheDao")
public class CacheDaoImpl implements CacheDao {
  @Resource
    CacheMapper cacheMapper;

    @Override
    public Integer getInCacheCode(String tno) {
        return cacheMapper.getInCacheCode(tno);
    }
}
